#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include "home.h"
#include "stm32.h"
#include "modbus.h"
#include "mybtn.h"
#include "video.h"
#include "history.h"
namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();

private:
    Ui::Widget *ui;
    Home *home;
    Stm32 *stm;
    Modbus *modbus;
    Video *video;
    History *his;
};

#endif // WIDGET_H
